/**
 * Created by Administrator on 2020/11/4 0004.
 */
window.onload=function(){
    const btn=document.querySelectorAll('.tab_let .btn');
    const content=document.querySelectorAll('.tab_right aside');
    const param=window.location.href;
    const data=param.split('=')[1];
    content.forEach(function(list){
        list.style.display='none';
    });
    btn.forEach(function(item,index){

        if(data==index){
            content[index].style.display='block';
            item.classList.add('bactive');
        }
    })
}